import request from '@/utils/request'

/**人员管理*/

//实施人员管理
//查询实施人员列表
export function implementList(params) {
    return request({
      url: '/device/implementer',
      method: 'get',
      params,
    })
}
//获取所有用户列表
export function getUser() {
  return request({
    url: '/system/user/username',
    method: 'get',
  })
}
//添加实施人员
export function implementAdd(params){
  return request({
    url: '/device/implementer',
    method: 'post',
    data:params,
  })
}
//编辑实施人员
export function implementEdit(params){
  return request({
    url: '/device/implementer',
    method: 'put',
    data:params,
  })
}
//查询实施人员信息
export function implementDes(id){
  return request({
    url: `/device/implementer/${id}`,
    method: 'get'
  })
}
//删除实施人员列表
export function implementDels(ids){
  return request({
    url: `/device/implementer/${ids}`,
    method: 'delete'
  })
}
//资质证书
export function qualifications(){
  return request({
    url: `/system/dict/data/selectCertificate`,
    method: 'get'
  })
}
//职责
export function duty(){
  return request({
    url: `/system/dict/data/selectObligation`,
    method: 'get'
  })
}